package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-01-24
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWAM_T")
public class GwamT extends PO<GwamT> {

    private static final long serialVersionUID = 1L;


    private String GWAMENT;
    @TableId(value = "GWAM001", type = IdType.INPUT)
    private String GWAM001;

    private String GWAM002;

    private String GWAM003;

    private String GWAM004;

    private String GWAM005;

    private String GWAM006;

    private String GWAM007;

    private String GWAM008;

    private String GWAM009;

    private String GWAM010;

    private String GWAM011;

    private String GWAM012;

    private String GWAM013;

    private String GWAM014;

    private String GWAM015;

    private String GWAM016;

    private String GWAM017;

    private String GWAM018;

    private String GWAM019;

    private String GWAM020;

    private String GWAMACTI;

    @TableField(fill = FieldFill.INSERT)
    private String GWAMUSER;

    @TableField(fill = FieldFill.INSERT)
    private String GWAMGRUP;

    @TableField(fill = FieldFill.UPDATE)
    private String GWAMMODU;

    @TableField(fill = FieldFill.INSERT)
    private String GWAMTIME;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWAMDATE;

    @TableField(fill = FieldFill.INSERT)
    private String GWAMORIG;

    @TableField(fill = FieldFill.INSERT)
    private String GWAMORIU;

    private BigDecimal GWAM021;

    private BigDecimal GWAM022;

    private BigDecimal GWAM023;

    private BigDecimal GWAM024;

    private String GWAM025;

    private String GWAM026;

    /**
     * 来源码
     */
    private String GWAM027;

    private LocalDateTime GWAMTRANDATE;

    /**
     * 产品生命周期
     */
    private String GWAM028;

    /**
     * 子品牌
     */
    private String GWAM029;

    /**
     * 大小品号
     */
    private String GWAM030;
    /**
     * 视频地址链接
     */
    private String GWAM031;

    @Override
    protected Serializable pkVal() {
        return this.GWAMENT;
    }

}
